function [ min, max ] = minfirst( A, B )

if ( A > B ) 
   
    min = B;
    max = A;
    return;
    
end

min = A;
max = B;

end

